﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace League.Utility
{
    public class AppSettingManager
    {
        private static string RESOURCEPATH = "ResourcePath";
        private static string LEAGUESCONNECTIONSTRING = "LeagueConnectionString";

        public static string ResourcePath
        {
            get { return ConfigurationManager.AppSettings[RESOURCEPATH].ToString(); }
        }

        public static string LeagueConnectionString
        {
            get { return ConfigurationManager.ConnectionStrings[LEAGUESCONNECTIONSTRING].ToString(); }
        }
    }
}
